<?php 
	$sql_library="select list_lable.IDLable,list_lable.LableName from list_lable where list_lable.IDEmployee='".$id_employee."'";
	$mang_library=mysql_query($sql_library);
?>
<link href="../css/popup.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.js"> </script>
<script type="text/javascript">
	$(document).ready(function(){
		$('#content_menu_expand').hide();
		$(document).click(function() {
			$("#content_menu_expand").hide();
		});
		$('#content_menu_expand').click(function(e) {
			e.stopPropagation();
		});

		$('#menu_expand').click(function() {
			if ($('#content_menu_expand').is(":hidden")) {
				$('#content_menu_expand').show();
			}
			else {
				$('#content_menu_expand').hide();
			}
			return false;
		});
		$('#close_menu').click(function() {
			$('#content_menu_expand').hide();
			return false;
		});

		$("ul.menu_inside li a").hover(function() {
			$(this).parent().find("ul.subnav").slideDown(0).show();
			$(this).parent().hover(function() {
			}, function(){
				$(this).parent().find("ul.subnav").slideUp(0);
			});
		}).hover(function() {
			$(this).addClass("subhover");
		}, function(){
			$(this).removeClass("subhover");
		});

	});		    
</script>

<div style="margin:50px; position:relative">
	<input type="button" class="btnupbg btnupload" value="More" id="menu_expand" />
    <div id="content_menu_expand" class="passul">
        <ul>
            <li><a href="#">Reply to post</a></li>
            <li><a href="#">Remove</a></li>
            <li><a href="#">Email</a></li>
            <li><a href="#">Export thread</a></li>
        </ul>
    </div>
</div>

<table style="background-color: white;spacing:3px; padding:3px;">
		<tr>
			<td>
				<input type="button" value="<?php echo $l_new_label?>" name="NewLibraryPopup" />
			</td>
		</tr>
		<?php 
		
			if(mysql_num_rows($mang_library)>0){
				while($row=mysql_fetch_array($mang_library)){
				?>
				<tr>
					<td>
						<a href=""><?php echo $row[LableName]?></a>
					</td>
				</tr>
				<?php 
				}
			}
		?>
		</table>